//
//  WEIBODetailLableItem.m
//  OneWeiBo
//
//  Created on 23.
//   
//

#import "WEIBOSubtitleItem.h"

@implementation WEIBOSubtitleItem
+ (WEIBOSubtitleItem *)itemWithTitle:(NSString *)title subtitle:(NSString *)subtitle
{
    WEIBOSubtitleItem *item = [[WEIBOSubtitleItem alloc]init];
    item.title = title;
    item.subtitle = subtitle;
    
    return item;
}

+ (WEIBOSubtitleItem *)itemWithTitle:(NSString *)title imageName:(NSString *)imageName
{
    WEIBOSubtitleItem *item = [[WEIBOSubtitleItem alloc]init];
    item.title = title;
    item.image = [UIImage imageWithName:imageName];
    
    return item;
}

+ (WEIBOSubtitleItem *)itemWithTitle:(NSString *)title subtitle:(NSString *)subtitle imageName:(NSString *)imageName
{
    WEIBOSubtitleItem *item = [WEIBOSubtitleItem itemWithTitle:title subtitle:subtitle];
    item.image = [UIImage imageWithName:imageName];
    return item;
}
@end
